package com.ruoyi.info.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 适配信息对象 product_adaptation
 * 
 * @author wangshi
 * @date 2023-06-07
 */
public class ProductAdaptation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 关联产品 */
    @Excel(name = "关联产品")
    private Long pid;

    /** 适配OS */
    @Excel(name = "适配OS")
    private String paOs;

    /** 适配时间 */
    @Excel(name = "适配时间", width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date paTime;

    /** 适配OS类型 */
    @Excel(name = "适配OS类型")
    private String paType;

    /** 适配状态 */
    @Excel(name = "适配状态")
    private String paState;

    /** 适配OS版本 */
    @Excel(name = "适配OS版本")
    private String paVersion;

    /** 兼容等级 */
    @Excel(name = "兼容等级")
    private String paLevel;

    /** OS小版本 */
    @Excel(name = "OS小版本")
    private String paMinVersion;

    /** 认证状态 */
    @Excel(name = "认证状态")
    private String paAuthenticationStatus;

    /** 适配平台 */
    @Excel(name = "适配平台")
    private String paPlatform;

    /** 收费/免费 */
    @Excel(name = "收费/免费")
    private String paCost;

    /** 适配CPU型号 */
    @Excel(name = "适配CPU型号")
    private String paCpu;

    /** 上架情况 */
    @Excel(name = "上架情况")
    private String paListing;

    /** 备注 */
    @Excel(name = "备注")
    private String paRemark;

    /** 适配验证情况 */
    @Excel(name = "适配验证情况")
    private String paValidate;

    /** 安装使用文档 */
    @Excel(name = "安装使用文档")
    private String paUsingDocuments;

    /** 适配产品安装包 */
    @Excel(name = "适配产品安装包")
    private String paInstallPackage;

    /** 产品状态 1:待审核 2:不合格 3:正常 */
    @Excel(name = "产品状态 1:待审核 2:不合格 3:正常")
    private Long paStatus;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setPaOs(String paOs) 
    {
        this.paOs = paOs;
    }

    public String getPaOs() 
    {
        return paOs;
    }
    public void setPaTime(Date paTime)
    {
        this.paTime = paTime;
    }

    public Date getPaTime()
    {
        return paTime;
    }
    public void setPaType(String paType)
    {
        this.paType = paType;
    }

    public String getPaType()
    {
        return paType;
    }
    public void setPaState(String paState) 
    {
        this.paState = paState;
    }

    public String getPaState() 
    {
        return paState;
    }
    public void setPaVersion(String paVersion) 
    {
        this.paVersion = paVersion;
    }

    public String getPaVersion() 
    {
        return paVersion;
    }
    public void setPaLevel(String paLevel) 
    {
        this.paLevel = paLevel;
    }

    public String getPaLevel() 
    {
        return paLevel;
    }
    public void setPaMinVersion(String paMinVersion) 
    {
        this.paMinVersion = paMinVersion;
    }

    public String getPaMinVersion() 
    {
        return paMinVersion;
    }
    public void setPaAuthenticationStatus(String paAuthenticationStatus) 
    {
        this.paAuthenticationStatus = paAuthenticationStatus;
    }

    public String getPaAuthenticationStatus() 
    {
        return paAuthenticationStatus;
    }
    public void setPaPlatform(String paPlatform) 
    {
        this.paPlatform = paPlatform;
    }

    public String getPaPlatform() 
    {
        return paPlatform;
    }
    public void setPaCost(String paCost) 
    {
        this.paCost = paCost;
    }

    public String getPaCost() 
    {
        return paCost;
    }
    public void setPaCpu(String paCpu) 
    {
        this.paCpu = paCpu;
    }

    public String getPaCpu() 
    {
        return paCpu;
    }
    public void setPaListing(String paListing) 
    {
        this.paListing = paListing;
    }

    public String getPaListing() 
    {
        return paListing;
    }
    public void setPaRemark(String paRemark) 
    {
        this.paRemark = paRemark;
    }

    public String getPaRemark() 
    {
        return paRemark;
    }
    public void setPaValidate(String paValidate) 
    {
        this.paValidate = paValidate;
    }

    public String getPaValidate() 
    {
        return paValidate;
    }
    public void setPaUsingDocuments(String paUsingDocuments) 
    {
        this.paUsingDocuments = paUsingDocuments;
    }

    public String getPaUsingDocuments() 
    {
        return paUsingDocuments;
    }
    public void setPaInstallPackage(String paInstallPackage) 
    {
        this.paInstallPackage = paInstallPackage;
    }

    public String getPaInstallPackage() 
    {
        return paInstallPackage;
    }
    public void setPaStatus(Long paStatus) 
    {
        this.paStatus = paStatus;
    }

    public Long getPaStatus() 
    {
        return paStatus;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pid", getPid())
            .append("paOs", getPaOs())
            .append("paTime", getPaTime())
            .append("paType", getPaType())
            .append("paState", getPaState())
            .append("paVersion", getPaVersion())
            .append("paLevel", getPaLevel())
            .append("paMinVersion", getPaMinVersion())
            .append("paAuthenticationStatus", getPaAuthenticationStatus())
            .append("paPlatform", getPaPlatform())
            .append("paCost", getPaCost())
            .append("paCpu", getPaCpu())
            .append("paListing", getPaListing())
            .append("paRemark", getPaRemark())
            .append("paValidate", getPaValidate())
            .append("paUsingDocuments", getPaUsingDocuments())
            .append("paInstallPackage", getPaInstallPackage())
            .append("paStatus", getPaStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
